package com.happycat.social.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.happycat.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;


/**
 * 房间分类
 * 
 * @author jsonbin
 * @date 2020-09-10
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@TableName("social_voice_room_category")
@ApiModel(value="房间分类", description="房间分类")
public class SocialVoiceRoomCategory extends BaseEntity<Long> {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "分类名称")
    @TableField(value = "name")
    private String name;

    @ApiModelProperty(value = "分类图标")
    @TableField(value = "pic")
    private String pic;

    @ApiModelProperty(value = "默认麦位数量")
    @TableField(value = "wheat_nums")
    private Integer wheatNums;

    @ApiModelProperty(value = "扩展字段，业务自定义")
    @TableField(value = "ext")
    private String ext;

}
